<?php

namespace haibao\ad\model\data;

class AdSummary extends \haibao\ad\model\data\Base{
    /**
     * 广告id
     */
    public $bannerid;
    
    /**
     * 广告id
     */
    public $zone_id;
    
    /**
     * 广告id
     */
    public $impressions;
    
    /**
     * 广告id
     */
    public $clicks;
    
    /**
     * 广告id
     */
    public $updat_time;
    
    /**
     * 广告id
     */
    public $date_time;
    
    
    public function __construct() {
        parent::__construct();
        
        $this->intField('bannerid','bannerid',true);
        $this->intField('zone_id','zone_id',true);
        $this->intField('impressions','impressions');
        $this->intField('clicks','clicks');
        $this->dateField('updat_time','updat_time');
        $this->dateField('date_time','date_time');
        
        $this->setTableName('tj_ad_data_summary_hourly');
    }
}

 